package com.foreknow.dao;

import com.foreknow.entity.Department;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    Integer deleteDeptsById(List<Integer> ids);

    List<Department> findDept(String query);

    Department findDeptById(Integer id);

    List<Department> heightFindDept(Department department);
}